package com.soboot.system.exception;

import com.soboot.web.exception.DefaultException;

/**
 * @Author:
 * @createTime: 2023年01月04日 17:44:07
 * @version:
 * @Description: 自定义系统异常
 * @Copyright:
 */
public class SystemException extends DefaultException {

    private static final long serialVersionUID = 7087235479322598815L;

    public SystemException() {
        this("系统异常");
    }

    public SystemException(String message) {
        super(message);
    }

    public SystemException(Throwable cause) {
        super(cause);
    }

    public SystemException(String message, Throwable cause) {
        super(message, cause);
    }

    public SystemException(Integer errorCode, String message) {
        super(errorCode + "", message);
    }
}
